Specimen mapping

Specimen mapping#

Hide code cell source
import pandas as pd
import sys
sys.path.append('../')

from source.bokeh_plots import *
from source.data_visualization import *
output_notebook()

print('\n')

file_path = '../data/al_atlas_main_results.xlsx'
model_name = 'AML Epigenomic Risk'

# Read the data
df = pd.read_excel(file_path, index_col=0).sort_index()

test_sample_name = 'UF_HemBank_1852'
mount = '/mnt/d/'
input_path = mount + 'MethylScore/Processed_Data/'
df_nanopore = pd.read_excel(input_path + test_sample_name + '_processed.xlsx', index_col=0)           

df = pd.concat([df, df_nanopore])

plot_linked_scatters(df, table=False, test_sample=test_sample_name)
Loading BokehJS ...

df['AML Epigenomic Risk']
0003fe29-7b8f-4ef1-b9bc-40306205f1fd_noid    High
0031efba-f564-4fff-bd7b-2b97f37218c1_noid    High
0037ec75-bb9e-4dbb-a2d9-de1f9bfd2362_noid    High
003d9efe-90a1-42cf-84c4-03fbabefe60b_noid    High
004c953f-d999-4d82-898d-c091e692df3c_noid    High
                                             ... 
fe185655-3aa5-4c5c-9dfd-630e0ee71710_noid    High
ff7f7d14-5fb7-44bc-b67a-d07610873330_noid    High
ff87c237-583a-4aa1-880c-7d77d00ba0a6_noid    High
ffeac099-79b4-4fbf-a283-275d31baf531_noid     Low
UF_HemBank_1852                               Low
Name: AML Epigenomic Risk, Length: 3510, dtype: object